﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZoneLine.Printers
{
    public interface IPrinter
    {
        /// <summary>
        /// 打印
        /// </summary>
        /// <param name="printerName"></param>
        string PrintLabel(string printTemplatePath, string printerName, int startIndex,int? endIndex = null);
        /// <summary>
        /// 打印预览
        /// </summary>
        /// <param name="printerName"></param>
        void PrintLabelShow(string printTemplatePath, string printerName, int startIndex, int? endIndex = null);

    }
}
